package com.lovo.homework;

public abstract class Role {
    //属性
    private int score=0;
    private int fist;

    //设置器、访问器
    public int getScore() {
        return score;
    }

    public void setScore() {
        this.score++;
    }

    public int getFist() {
        return fist;
    }

    public void setFist(int fist) {
        this.fist = fist;
    }
    //抽象方法
    public abstract void choiceFist();
}
